home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 3.8 KB | 162 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _ODSESSNB_
- #define _ODSESSNB_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODBaseSession;
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface ODWindowState;
- interface ODDispatcher;
- interface ODArbitrator;
- interface ODStorageSystem;
- interface ODClipboard;
- interface ODDragAndDrop;
- interface ODLinkManager;
- interface ODNameSpaceManager;
- interface ODMessageInterface;
- interface ODNameResolver;
- interface ODTranslation;
- interface ODUndo;
- interface ODSemanticInterface;
- interface ODBinding;
- interface ODInfo;
-
-
- //==============================================================================
- // ODBaseSession
- //==============================================================================
-
- interface ODBaseSession : ODObject
- {
- //#---------------------------------
- //# Global Getters/Setters
-
- ODArbitrator GetArbitrator();
- void SetArbitrator(in ODArbitrator arbitrator);
-
- ODBinding GetBinding();
- void SetBinding(in ODBinding binding);
-
- ODDispatcher GetDispatcher();
- void SetDispatcher(in ODDispatcher dispatcher);
-
- ODClipboard GetClipboard();
- void SetClipboard(in ODClipboard clipboard);
-
- ODDragAndDrop GetDragAndDrop();
- void SetDragAndDrop(in ODDragAndDrop dragAndDrop);
-
- ODInfo GetInfo();
- void SetInfo(in ODInfo info);
-
- ODLinkManager GetLinkManager();
- void SetLinkManager(in ODLinkManager linkManager);
-
- ODMessageInterface GetMessageInterface();
- void SetMessageInterface(in ODMessageInterface messageInterface);
-
- ODNameResolver GetNameResolver();
- void SetNameResolver(in ODNameResolver nameResolver);
-
- ODNameSpaceManager GetNameSpaceManager();
- void SetNameSpaceManager(in ODNameSpaceManager nameSpaceManager);
-
- ODStorageSystem GetStorageSystem();
- void SetStorageSystem(in ODStorageSystem storageSystem);
-
- ODTranslation GetTranslation();
- void SetTranslation(in ODTranslation translation);
-
- ODUndo GetUndo();
- void SetUndo(in ODUndo undo);
-
- ODWindowState GetWindowState();
- void SetWindowState(in ODWindowState windowState);
-
- //#---------------------------------
- //# Semantic Events
-
- ODSemanticInterface AcquireShellSemtInterface();
- void SetShellSemtInterface(in ODSemanticInterface shellSemanticInterface);
-
- //#---------------------------------
- //# Types and Token
-
- ODTypeToken Tokenize(in ODType type);
-
- void RemoveEntry( in ODType type);
-
- ODBoolean GetType(in ODTypeToken token,
- out ODType type);
-
-
- #ifdef __SOMIDL__
- implementation
- {
- majorversion = 1; minorversion = 0;
-
- functionprefix = ODBaseSession;
-
- override:
- somUninit;
-
- releaseorder:
- GetArbitrator,
- GetBinding,
- GetClipboard,
- GetDispatcher,
- GetDragAndDrop,
- GetInfo,
- GetLinkManager,
- GetMessageInterface,
- GetNameResolver,
- GetNameSpaceManager,
- GetStorageSystem,
- GetTranslation,
- GetUndo,
- GetWindowState,
- SetArbitrator,
- SetBinding,
- SetClipboard,
- SetDispatcher,
- SetDragAndDrop,
- SetInfo,
- SetLinkManager,
- SetMessageInterface,
- SetNameResolver,
- SetNameSpaceManager,
- SetStorageSystem,
- SetTranslation,
- SetUndo,
- SetWindowState,
- AcquireShellSemtInterface,
- SetShellSemtInterface,
- Tokenize,
- RemoveEntry,
- GetType,
- reserved1,
- reserved2,
- reserved3,
- reserved4,
- reserved5;
-
- };
- #endif
- };
-
-
- #endif // _BASESESS_
-
-